import Analysis from "./pages/Analysis";
import Generate from "./pages/Generate/generate";
import Template from "./pages/Template";

export const navItems = [
  {
    title: "热点分析",
    href: "/",
    page: () => <Analysis />,
  },
  {
    title: "笔记模板提取",
    href: "/template",
    page: ({ selectedType, setIndexUiError }: NavIndex) => (
      <Template selectedType={selectedType} setIndexUiError={setIndexUiError} />
    ),
  },
  {
    title: "笔记生成",
    href: "/generate",
    page: ({ selectedType, setIndexUiError }: NavIndex) => (
      <Generate selectedType={selectedType} setIndexUiError={setIndexUiError} />
    ),
  },
];
